import { createRouter, createWebHistory } from 'vue-router'
 
import loginView from '@/views/login/login.vue'
import homeView from '@/views/home/home.vue'
const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    { path: '/', redirect: '/home' },
    {
      path: '/login', component: loginView,
    },
    {
      path: '/home', component: homeView,
    },
     
  ],
})

export default router
